package com.etc.future.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class JobSeeker {
   private int jsid;
   private String jsaccount;
   private String jspassword;
   private String jsname;
   private Date birthday;
   private String email;
   private String tel;
   private String sex;
   private String livecity;
   private String headImage;

   public JobSeeker(String jsaccount, String jspassword, String jsname, String tel) {
      this.jsaccount = jsaccount;
      this.jspassword = jspassword;
      this.jsname = jsname;
      this.tel = tel;
   }
//int i=ijs.jobSeekerUpdate(jsid,jsname,sex,jsemail,jstel,jsdate,jslivecity,jsheadImage);

   public JobSeeker(int jsid, String jsname, String sex, String email , String tel, Date birthday, String livecity, String headImage) {
      this.jsid = jsid;
      this.jsname = jsname;
      this.birthday = birthday;
      this.email = email;
      this.tel = tel;
      this.sex = sex;
      this.livecity = livecity;
      this.headImage = headImage;
   }

   public JobSeeker(String jsaccount, String jspassword, String jsname, String tel, String headImage) {
      this.jsaccount = jsaccount;
      this.jspassword = jspassword;
      this.jsname = jsname;
      this.tel = tel;
      this.headImage=headImage;
   }
}
